<template>
    <div>

    </div>
</template>
<script>
import axios from 'axios';
export default {
    data() {
        return {
            heroList: []
        }
    },

    methods: {
        getHeroList() {
            axios.get('https://game.gtimg.cn/images/lol/act/img/js/heroList/hero_list.js?ts=2903055').then(res => {
                this.heroList = res.data.hero
                    ;
                console.log(this.heroList);

            })
        }
    },
    mounted() {
        this.getHeroList();
    }
}
</script>